package com.shanling.shanlingcontroller.persenter.contract;

import com.shanling.shanlingcontroller.persenter.BasePersenter;
import com.shanling.shanlingcontroller.ui.BaseView;

/**
 * Created by ch1 on 2019/10/8.
 */

public interface ForgetContract {
    interface View extends BaseView {
        void resetSuccess();
        void resetFaild(String msg);
        void getcodeSuccess(String code);
        void getcodeFaild(String msg);
        void getTokenSuccess(String appToken);
        void getTokenFaild(String msg);
    }
    interface Presenter extends BasePersenter<View> {
        void getVerificationcode(String phone,int Type);
        void reset(String  phone,String userPwd,String validCode );
        void getToken();
    }
}
